package com.design.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.design.blog.model.Category;
import com.design.blog.model.vo.CategoryVO;

import java.util.List;

/**
 * @version 1.0
 * @author hxg
 * @date 2022-02-28
 * Mapper接口
 */
public interface CategoryMapper extends BaseMapper<Category> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param category
	 * @return
	 */
	List<Category> selectCategoryPage(IPage page, CategoryVO category);

}
